MySQL ERROR:
Error Number: 2006
Description: MySQL server has gone away
Query: SELECT c.cat_name, c.cat_id, c.cat_image, c.cat_description, c.parent_id,
p.cat_id, p.entry_id, c.group_id
FROM exp_categories AS c, exp_category_posts AS p
WHERE c.cat_id = p.cat_id
AND p.entry_id IN ('7787','7781','7774','7767','7763','7752','7732','7745','7728','7726','7722','7721','7718','7712','7705') ORDER BY c.group_id, c.parent_id, c.cat_order